package com.shopping.search.vo;

import lombok.Data;

import java.util.List;

/**
 * @author Europa
 */
@Data
public class SearchParamVo {

    /**
     * 搜索关键字
     */
    private String keyword;
    /**
     * 三级分类id
     */
    private Long catalog3Id;

    /**
     * 排序
     * saleCount_asc/desc
     * skuPrice_asc/desc
     * hotScore_asc/desc
     */
    private String sort;

    /**
     * 库存(0: 无, 1: 有)
     *
     */
    private Integer hasStock;

    /**
     * 价格区间
     * a - b
     * a - ∞
     * ∞ - b
     */
    private String skuPrice;

    /**
     * 品牌id
     */
    private List<Long> brandId;

    /**
     * 按照属性筛选
     */
    private List<String> attrs;

    /**
     * 页码
     */
    private Integer pageNum;
}
